using System;
using System.Linq;
using System.Collections.Generic;
using Db4objects.Db4o.Linq;
using SharedObjects;

namespace TheGame.Webservices
{
	public partial class TheGameService
	{
		public List<StoryArc> StoryDesign_GetMyArcs(Guid sessionId)
		{
			Agent me;
			if (!CheckIsValidAgent(sessionId, out me))
				return null;
			var arcs = (from StoryArc arc in Db where arc.CreatorId == me.Id select arc).ToList();
			return arcs;
		}

		public bool StoryDesign_SaveArc(Guid sessionId, StoryArc arc)
		{
			return false;
		}
	}
}